<html>
<head><meta charset="utf-8"><title>rust-analyzer not working on huge project? · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rust-analyzer.20not.20working.20on.20huge.20project.3F.html">rust-analyzer not working on huge project?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="219190203"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rust-analyzer%20not%20working%20on%20huge%20project%3F/near/219190203" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jay Somedon <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rust-analyzer.20not.20working.20on.20huge.20project.3F.html#219190203">(Dec 08 2020 at 10:14)</a>:</h4>
<p>I opened the <code>rust</code> project's folder in vscode and it no longer shows those hint and tooltip on hover. Works fine if I hover on files for smaller project. Anyone know what's going on? <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>



<a name="219191465"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rust-analyzer%20not%20working%20on%20huge%20project%3F/near/219191465" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rust-analyzer.20not.20working.20on.20huge.20project.3F.html#219191465">(Dec 08 2020 at 10:31)</a>:</h4>
<p><del>You might have to wait a little for it to load (try running <code>cargo check</code> and wait until it finishes).</del> It's actually <code>./x.py check</code>, IIRC, and you can also configure it to be used for "check on save" if you want. <a href="https://github.com/rust-analyzer/rust-analyzer/pull/6524">https://github.com/rust-analyzer/rust-analyzer/pull/6524</a> might also help here (so that analysis works for the private rustc crates).</p>



<a name="219194772"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rust-analyzer%20not%20working%20on%20huge%20project%3F/near/219194772" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jay Somedon <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rust-analyzer.20not.20working.20on.20huge.20project.3F.html#219194772">(Dec 08 2020 at 11:11)</a>:</h4>
<p>after almost an hour of fetching and building bunch of stuff, yeah it works <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span> <span aria-label="congratulations" class="emoji emoji-1f389" role="img" title="congratulations">:congratulations:</span></p>



<a name="219201082"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rust-analyzer%20not%20working%20on%20huge%20project%3F/near/219201082" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Florian Diebold <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rust-analyzer.20not.20working.20on.20huge.20project.3F.html#219201082">(Dec 08 2020 at 12:34)</a>:</h4>
<p>it might be a good idea to disable <code>loadOutDirsOnCheck</code> in the rust repo <span aria-label="thinking" class="emoji emoji-1f914" role="img" title="thinking">:thinking:</span> Also, did you see the tips in the <a href="https://rustc-dev-guide.rust-lang.org/building/suggested.html#configuring-rust-analyzer-for-rustc">dev guide</a>?</p>



<a name="219203040"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rust-analyzer%20not%20working%20on%20huge%20project%3F/near/219203040" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jay Somedon <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rust-analyzer.20not.20working.20on.20huge.20project.3F.html#219203040">(Dec 08 2020 at 12:58)</a>:</h4>
<p>didn't know that guide, looks very helpful!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>